import { createRouter, createWebHashHistory } from 'vue-router'
import Login from "@/views/Login";
import Home from "@/views/Home";
const routes = [
  {
    path: '/',
    name: 'Login',
    component: Login,
    hidden:true
  },
  {
    path: '/home',
    name: 'Index',
    component: Home,
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
